<div id="header_menu" class="grid_24 "> 
	<a href="<?php echo site_url('/')?>">HOME</a>         
        <?php if ($user):?>        
        [public profile:<a href="<?php echo site_url('u/'.$user['username'])?>"><?php echo $user['display_name'];?></a>] -
        [eStore:<a href="<?php echo site_url($user['username'])?>"><?php echo $user['display_name'];?></a>]
        <a href="<?php echo site_url('users/users/logout')?>">Logout</a>
        <?php else:?>
        <a href="<?php echo site_url('users/users/login')?>">Login</a>
        <?php endif;?>        
  </div>